package com.gocoolmall.order.feign;

import com.gocoolmall.order.vo.MemberAddressVO;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

import java.util.List;

@FeignClient("gocoolmall-member")
public interface MemberFeignServier {

    @GetMapping("/member/memberreceiveaddress//{memberId}/addresses")
    List<MemberAddressVO> getAddress(@PathVariable("memberId") Long memberId);
}
